package cn.itsource.ymcc.service;

import cn.itsource.result.JSONResult;
import cn.itsource.ymcc.domain.Course;
import cn.itsource.ymcc.dto.CourseAddDto;
import cn.itsource.ymcc.vo.Course2OrderInfoVo;
import cn.itsource.ymcc.vo.CourseInfoVo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Cherish
 * @since 2022-08-07
 */
public interface ICourseService extends IService<Course> {

    void save(CourseAddDto courseAddDto);

   void onLineCourse(Long id);

    void offLineCourse(Long id);

    CourseInfoVo detailInfo(Long courseId);

    Course2OrderInfoVo course2OrderInfo(String courseIds);
}
